package com.example.activitytest;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.Button;

public class ThirdActivity extends BaseActivity {

    private static final String TAG = "ThirdActivity";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        Log.d(TAG, "activity3的任务栈id:" + getTaskId());
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_third);
        Button btn = findViewById(R.id.btn3);
        btn.setOnClickListener(v -> {
            Intent intent = new Intent(ThirdActivity.this, SecondActivity.class);
//            startActivity(intent);
        });
    }
}